<?php


namespace app\api\validate\user;


use LinCmsTp5\validate\BaseValidate;

class CheckMemberType extends BaseValidate
{
    protected $rule = [
        'name' => 'require|max:50',
        'type' => 'require|in:1,2,3,4,5'
    ];

    protected $message = [
        'name' => '请输入会员卡名称且长度不大于50',
        'type' => '请选择正确的会员卡类型'
    ];
}